package com.jackson.engineeringtechnologyguide.bean;

/*
 * Author: JacksonCoder
 * FileName: MessageHandler
 * Version: 1.0.0
 * Date: 2025/1/10
 */

import com.jackson.engineeringtechnologyguide.service.IAccountService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;

import java.util.concurrent.ExecutorService;

@Slf4j
public class MessageHandler {

    private final String handlerName;

    private final IAccountService accountService;

    private final ExecutorService executorService;

    public MessageHandler(String handlerName, IAccountService accountService, ExecutorService executorService) {
        this.handlerName = handlerName;
        this.accountService = accountService;
        this.executorService = executorService;
    }

    public void start() {
        log.info("...");
    }

    public void close() {
        log.info("...");
    }

}
